import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import {HttpClientModule } from '@angular/common/http';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';

import { CommonModule } from '@angular/common';

import { FormsModule} from '@angular/forms';

import { RoomComponent } from './dashboard/room/room.component';
import { DiscussionComponent } from './dashboard/discussion/discussion.component';
import { AboutComponent } from './dashboard/about/about.component';
import { LoginComponent } from './login/login.component';
import { SubroomComponent } from './dashboard/subroom/subroom.component';
import { Page404Component } from './page404/page404.component';
import {RegComponent} from './reg/reg.component';

@NgModule({
  declarations: [
    AppComponent,
    RoomComponent,
    DiscussionComponent,
    AboutComponent,
    LoginComponent,
    RegComponent,
    SubroomComponent,
    Page404Component
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    HttpClientModule,
    FormsModule,
    CommonModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
